package cn.tedu.weibo.service;

import cn.tedu.weibo.pojo.dto.CommentDTO;
import cn.tedu.weibo.pojo.vo.CommentVO;
import org.hibernate.validator.constraints.Range;

import java.util.List;

public interface ICommentService {
    int insert(CommentDTO commentDTO,Long id);

    List<CommentVO> selectByWeiboId(@Range(min = 1,max = 1000,message = "微博id范围1-1000") Long id);
}
